package com.xmy.framework.pojo.dos;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "wx")
public class WeChatSecret {
    @Value("${wx.minApp.appId}")
    private String appId;

    //微信小程序密钥
    @Value("${wx.minApp.appSecret}")
    private String appSecret;
}
